package com.e2oto.seller.modules.seller.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by ZhangLiQiang on 2017/11/27.
 */

public class GoodsInfoBean implements Serializable {

    /**
     * batch_goods_id : 102
     * name : 1
     * category_ids : 23,70,
     * store_nums : 1
     * market_price : 2.00
     * cover : ["http://39.108.0.85/zhapi/public/upload/2017/11/27/5a1bc1e4497dc483013.jpg"]
     * description :
     * content_images :
     * search_words : 3
     * is_refund : 0
     * batch_spec_array : [{"spec_id":64,"unit":"2","weight":"3","store_nums":0,"sell_price":"4.00","type":0}]
     * spec_array : []
     * goods_id : 0
     * sell_price : 4.00
     */

    private int batch_goods_id;
    private String name;
    private String category_ids;
    private int store_nums;
    private String market_price;
    private String description;
    private List<String> content_images;
    private String search_words;
    private int is_refund;
    private int goods_id;
    private String sell_price;
    private List<String> cover;
    private List<BatchSpecArrayBean> batch_spec_array;
    private List<SpecArrayBean> spec_array;

    public int getBatch_goods_id() {
        return batch_goods_id;
    }

    public void setBatch_goods_id(int batch_goods_id) {
        this.batch_goods_id = batch_goods_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory_ids() {
        return category_ids;
    }

    public void setCategory_ids(String category_ids) {
        this.category_ids = category_ids;
    }

    public int getStore_nums() {
        return store_nums;
    }

    public void setStore_nums(int store_nums) {
        this.store_nums = store_nums;
    }

    public String getMarket_price() {
        return market_price;
    }

    public void setMarket_price(String market_price) {
        this.market_price = market_price;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public List<String> getContent_images() {
        return content_images;
    }

    public void setContent_images(List<String> content_images) {
        this.content_images = content_images;
    }

    public String getSearch_words() {
        return search_words;
    }

    public void setSearch_words(String search_words) {
        this.search_words = search_words;
    }

    public int getIs_refund() {
        return is_refund;
    }

    public void setIs_refund(int is_refund) {
        this.is_refund = is_refund;
    }

    public int getGoods_id() {
        return goods_id;
    }

    public void setGoods_id(int goods_id) {
        this.goods_id = goods_id;
    }

    public String getSell_price() {
        return sell_price;
    }

    public void setSell_price(String sell_price) {
        this.sell_price = sell_price;
    }

    public List<String> getCover() {
        return cover;
    }

    public void setCover(List<String> cover) {
        this.cover = cover;
    }

    public List<BatchSpecArrayBean> getBatch_spec_array() {
        return batch_spec_array;
    }

    public void setBatch_spec_array(List<BatchSpecArrayBean> batch_spec_array) {
        this.batch_spec_array = batch_spec_array;
    }

    public List<SpecArrayBean> getSpec_array() {
        return spec_array;
    }

    public void setSpec_array(List<SpecArrayBean> spec_array) {
        this.spec_array = spec_array;
    }

    public static class SpecArrayBean implements Serializable{

        /**
         * spec_id : 64
         * unit : 2
         * weight : 3
         * store_nums : 0
         * sell_price : 4.00
         * type : 0
         */

        private int spec_id;
        private String unit;
        private String weight;
        private int store_nums;
        private String sell_price;

        public int getSpec_id() {
            return spec_id;
        }

        public void setSpec_id(int spec_id) {
            this.spec_id = spec_id;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        public int getStore_nums() {
            return store_nums;
        }

        public void setStore_nums(int store_nums) {
            this.store_nums = store_nums;
        }

        public String getSell_price() {
            return sell_price;
        }

        public void setSell_price(String sell_price) {
            this.sell_price = sell_price;
        }
    }
    public static class BatchSpecArrayBean implements Serializable {
        /**
         * spec_id : 64
         * unit : 2
         * weight : 3
         * store_nums : 0
         * sell_price : 4.00
         * type : 0
         */

        private int spec_id;
        private String unit;
        private String weight;
        private int store_nums;
        private String sell_price;
        private int type;

        public int getSpec_id() {
            return spec_id;
        }

        public void setSpec_id(int spec_id) {
            this.spec_id = spec_id;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }

        public int getStore_nums() {
            return store_nums;
        }

        public void setStore_nums(int store_nums) {
            this.store_nums = store_nums;
        }

        public String getSell_price() {
            return sell_price;
        }

        public void setSell_price(String sell_price) {
            this.sell_price = sell_price;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
